package Bio::Phylo::BioPrio;

use 5.008008;
use strict;
use warnings;
use Carp;

require Exporter;
use AutoLoader;

our @ISA = qw(Exporter);

# Items to export into callers namespace by default. Note: do not export
# names by default without a very good reason. Use EXPORT_OK instead.
# Do not simply export all your public functions/methods/constants.

# This allows declaration	use NAP ':all';
# If you do not need this, moving things directly into @EXPORT or @EXPORT_OK
# will save memory.
our %EXPORT_TAGS = ( 'all' => [ qw(
	
) ] );

our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );

our @EXPORT = qw(
	
);

our $VERSION = '0.01';

sub AUTOLOAD {
    # This AUTOLOAD is used to 'autoload' constants from the constant()
    # XS function.

    my $constname;
    our $AUTOLOAD;
    ($constname = $AUTOLOAD) =~ s/.*:://;
    croak "&NAP::constant not defined" if $constname eq 'constant';
    my ($error, $val) = constant($constname);
    if ($error) { croak $error; }
    {
	no strict 'refs';
	# Fixed between 5.005_53 and 5.005_61
#XXX	if ($] >= 5.00561) {
#XXX	    *$AUTOLOAD = sub () { $val };
#XXX	}
#XXX	else {
	    *$AUTOLOAD = sub { $val };
#XXX	}
    }
    goto &$AUTOLOAD;
}

require XSLoader;
XSLoader::load('Bio::Phylo::BioPrio', $VERSION);

# Preloaded methods go here.

# Autoload methods go after =cut, and are processed by the autosplit program.

1;
__END__
# Below is stub documentation for your module. You'd better edit it!

=head1 Bio::Phylo::BioPrio

BioPrio - Algorithms for biodiversity conservation

=head1 SYNOPSIS

 TODO: Clever examples! 

=head1 DESCRIPTION

BioPrio is a collection of tools for prioritising species for 
biodiversity conservation. At present it contains algorithms
related to the Noah's Ark Problem. I encourage anyone with 
related work to contribute it to this package. I will be happy
to help anyone add their perl/C/C++ implementations of their 
work. 


=head1 SEE ALSO

Bio::Phylo  The tree objects used throughout are based on this

Bio::Phylo::BioPrioGUI  A graphical interface for some of the algorithms in
this package

=head1 AUTHOR

Klaas Hartmann, E<lt>klaas.hartmann@math.canterbury.ac.nz<gt>

=head1 COPYRIGHT AND LICENSE

Everything except xxx is:
Copyright (C) 2007 by Klaas Hartmann

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.8.8 or,
at your option, any later version of Perl 5 you may have available.

xxx is:
Copyright (C) 2007 by Fabio Pardi

Fabio's license agreement here!


=cut
